package com.tiger.ejbql.sample2;

import javax.ejb.*;
import javax.naming.*;

public abstract class EJBQLC2Bean implements javax.ejb.EntityBean {
    private javax.ejb.EntityContext entityContext = null;
    
    public abstract void setId(Integer id);
    public abstract Integer getId();
    public abstract void setName(String name);
    public abstract String getName();
    public abstract void setEjbqlb2(EJBQLB2 b);
    public abstract EJBQLB2 getEjbqlb2();
    
    public Integer ejbCreate(Integer id, String name) throws javax.ejb.CreateException {
        setId(id);
        setName(name);
        return id;
    }
    
    public void ejbPostCreate(Integer id, String name) {}
    
    public void setEntityContext(javax.ejb.EntityContext entityContext) {
        this.entityContext = entityContext;
    }
    
    public void unsetEntityContext() throws javax.ejb.EJBException, java.rmi.RemoteException {
        this.entityContext = null;
    }
    
    public void ejbLoad() {}
    
    public void ejbStore() {}
    
    public void ejbActivate() {}
    
    public void ejbPassivate() {}
    
    public void ejbRemove() {}
}
